# -*- coding: utf-8 -*-
"""
Created on Wed Jan 16 11:03:33 2019

@author: Administrator
"""

import requests
import json

def tuling(info):
    key = '001cbd98ea564*******************' 
    url = 'http://www.tuling123.com/openapi/api?key='+key+'&info='+info
    res = requests.get(url)
    res.encoding = 'utf-8'
    jd = json.loads(res.text)
    return jd['text']
while 1:
    info=input('\n我：')
    print('\n图灵机器人：'+tuling(info))